
<div class="layui-container">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md8">
            <div class="fly-panel" style="margin-bottom: 0;">
                <div class="fly-panel-title fly-filter">
                    <a {if condition="empty(input('status'))"} class="layui-this" {/if} href="{:url('index/question/qlist',['cid'=>input('cid')])}">综合</a>
                    <span class="fly-mid"></span>
                    <a {if condition="input('status') == 'notover'"} class="layui-this" {/if} href="{:url('index/question/qlist',['cid'=>input('cid'),'status'=>'notover']);}">未结</a>
                    <span class="fly-mid"></span>
                    <a {if condition="input('status') == 'over'"} class="layui-this" {/if} href="{:url('index/question/qlist',['cid'=>input('cid'),'status'=>'over']);}">已结</a>
                    <span class="fly-mid"></span>
                    <a {if condition="input('status') == 'jing'"} class="layui-this" {/if} href="{:url('index/question/qlist',['cid'=>input('cid'),'status'=>'jing']);}">精华</a></div>
                <ul class="fly-list">
                    {foreach $data as $v}
                    <li>
                        <a href="{:url('index/question/index',['qid'=>$v.qid]);}" class="fly-avatar">
                            <img src="/think/public/{$v.face}" alt="空白处"></a>
                        <h2>
                            <a class="layui-badge">{$v.name}</a>
                            <a href="{:url('index/question/index',['qid'=>$v.qid]);}">{$v.title}</a></h2>
                        <div class="fly-list-info">
                            <a href="/u/6215832" link>
                                <cite>{$v.nickname}</cite></a>
                            <span>{:Ftime($v['ctime'])}</span>
                            <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻">
                                        <i class="iconfont icon-kiss"></i>{$v.kiss}</span>
                            <span class="fly-list-nums">
                                        <i class="iconfont icon-pinglun1" title="回答"></i>0</span>
                        </div>
                        <div class="fly-list-badge"></div>
                    </li>
                    {/foreach}
                </ul>
                <div class="fenye"  style="border-top: 1px dotted #e2e2e2; text-align: center;">
                    <style>
                        .active{
                            color: red;
                        }
                        .fenye li{
                            display: inline-block;
                            border: 1px solid #009688;
                            padding: 10px;
                            margin: 3px;
                            border-radius: 3px;

                        }

                    </style>
                    {$data->render()}
                </div>
            </div>
        </div>
        <div class="layui-col-md4">
            <dl class="fly-panel fly-list-one">
                <dt class="fly-panel-title">本周热议</dt>
                {if condition="!empty($hotlist)"}
                {foreach $hotlist as $k=>$v}
                <dd>
                    <a href="{:url('index/question/index',['qid'=>$v.qid]);}">{$v.title}</a>
                    <span>
                                <i class="iconfont icon-pinglun1"></i>{$v.answer_num}</span>
                </dd>
                {/foreach}
                {/if}
            </dl>
            <div class="fly-panel">
                <div class="fly-panel-title">钻级赞助商
                    <span class="fly-mid"></span>
                    <a href="/jie/15697/" class="fly-link fly-joinad    ">我要加入</a></div>
                <div class="fly-panel-main" style="padding: 13px 15px;">
                    <a href="/jie/15697/" target="_blank" rel="nofollow" class="fly-zanzhu" style="background-color: #393D49;">虚席以待</a></div>
            </div>
            <div class="fly-panel" style="padding: 20px 0; text-align: center;">
                <img src="//cdn.layui.com/upload/2017_8/168_1501894831075_19619.jpg" style="max-width: 100%;" alt="layui">
                <p style="position: relative; color: #666;">微信扫码关注 layui 公众号</p></div>
        </div>
    </div>
</div>